package com.mp.pojo.Query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 *@description:
 *@author: Ace
 *@create: 2019-08-22 13:49
 */
@Data
@ApiModel(value = "站点登录对象")
public class LoginQuery {

    @NotNull(message="账号不能为空")
    @ApiModelProperty(value = "用户昵称", example = "admin001")
    private String account;

    @NotNull(message="密码不能为空")
    @ApiModelProperty(value = "用户昵称", example = "123456")
    private String password;
}
